<script type="text/javascript">
	var caldef1 =
	{
		firstday : 0,
		dtype : 'yyyy-MM-dd',
		width : 250,
		windoww : 300,
		windowh : 200,
		border_width : 0,
		border_color : '#0000d3',
		dn_css : 'clsDayName',
		cd_css : 'clsCurrentDay',
		wd_css : 'clsWorkDay',
		we_css : 'clsWeekEnd',
		wdom_css : 'clsWorkDayOtherMonth',
		weom_css : 'clsWeekEndOtherMonth',
		headerstyle :
		{
			type : "buttons",
			imgnextm : 'img/forward.jpg',
			imgprevm : 'img/back.jpg',
			css : 'clsDayName'
		},
		showtime : true,
		monthnames : ["January", "February", "March", "April", "May", "June",
			"July", "August", "September", "October", "November", "December"],
		daynames : ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
		template_path : 'http://localhost/GMS/library/javascript/calendar/Builder/',
		img_path : 'http://localhost/GMS/library/javascript/calendar/Builder/img/'

	}; 
	var c3 = new CodeThatCalendar(caldef1); 

</script>


<form id="insert_productplace_form" method="POST" 
		action="<{$smarty.const.APPLICATION_URL}>productplace/insert/">
	<table border="0" cellpadding="10px">
		<tr>
			<td>Product Name</td>
			<td>
				<select id="propla_pro_id" name="propla_pro_id">
					<{foreach from=$productList item=phantu}>
					<option value="<{$phantu.pro_id}>"><{$phantu.pro_name}></option>					
					<{/foreach}>
				</select>
			</td>
		</tr>
		<tr>
			<td>Place</td>
			<td>
				<select id="propla_pla_id" name="propla_pla_id">
					<{foreach from=$placesList item=phantu}>
					<option value="<{$phantu.pla_id}>"><{$phantu.pla_name}></option>					
					<{/foreach}>
				</select>
			</td>
		</tr>
		
		<tr>
			<td>Quantity</td>
			<td><input id="propla_quantity" name="propla_quantity" size=30/></td>
		</tr>
		
		<tr>
			<td colspan=2 align="left">
				<input type="submit" id="insert_productplace_btn" 
					name="insert_productplace_btn" value="Insert a product place"/>
			</td>
		</tr>
	</table>
</form>
